package com.sanyang.lawyer.service.adm;

import com.sanyang.lawyer.entity.Adm_Register;
import com.sanyang.lawyer.mapper.adm.AdmRegisterMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @program: lawyer
 * @description: 快速登记Service层
 * @author: Mr.Wang
 * @create: 2019-10-23 09:30
 **/

@Service
public class AdmRegisterService {

    @Autowired
    private AdmRegisterMapper register;


    public List<Adm_Register> listall(){
        return register.listall();
    }

    public Adm_Register getbyid(int id){
        return register.getbyid(id);
    }

    public void delete(int id){
        this.register.delete(id);
    }

    public void updateSelective(Adm_Register admRegister){
        this.register.updateSelective(admRegister);
    }

    public void registerinsert(Adm_Register admRegister){
        this.register.registerinsert(admRegister);
    }

    public List<Adm_Register> furry(Map<String,String> map){
        return register.furry(map);
    }
}
